/*
 * Created on 2006-5-15
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package kerjodando.vincent;

import kerjodando.casper.tools.WebServer;
import kerjodando.casper.util.ConfigUtil;
import ants.p2p.gui.FrameAnt;

/**
 * @author vicent(zhu1230@gmail.com)
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class Main extends Thread {

	public static void main(String[] args) throws Exception {
		ConfigUtil.setup();

		new runThread().start();
		// javax.swing.SwingUtilities.invokeLater(new Runnable(){

		/*
		 * public void run() { } } );
		 */
		// System.out.println("start!");
		try {
			FrameAnt.main(args);
		} catch (Exception e) {
			e.printStackTrace();
		}
		WebServer.start();
	}

}
